from django.db import models
from datetime import datetime
# Create your models here.

class Pic(models.Model):
    name = models.CharField(max_length=32)
    picname = models.CharField(max_length=32)
    addtime=models.DateTimeField(default=datetime.now)


    class Meta:
       db_table = "myweb_pic"  # 更改表名 
